package config

import (
	"golang.org/x/oauth2"
)

//https://open.feishu.cn/document/deprecated-guide/app-login/api-reference/get-access_token

var feiShuEndpoint = oauth2.Endpoint{
	AuthURL:       "https://accounts.feishu.cn/open-apis/authen/v1/authorize",
	DeviceAuthURL: "",
	TokenURL:      "https://passport.feishu.cn/suite/passport/oauth/token",
	AuthStyle:     0,
}
var FeiShuConf = &oauth2.Config{
	ClientID:     "cli_a8e4f586ad6b500b",
	ClientSecret: "ySOhA4fkg2zw5ehVQ7JDGhoM2etNAx4s",
	RedirectURL:  "http://blog.poolworker.icu:9876/",
	Scopes:       []string{"bitable:app:readonly"},
	Endpoint:     feiShuEndpoint,
}
